home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import mx.core.IFlexModuleFactory;
- import mx.skins.halo.SliderHighlightSkin;
- import mx.skins.halo.SliderThumbSkin;
- import mx.skins.halo.SliderTrackSkin;
- import mx.styles.CSSStyleDeclaration;
- import mx.styles.StyleManager;
-
- public class _HSliderStyle
- {
-
-
- public function _HSliderStyle()
- {
- super();
- }
-
- public static function init(param1:IFlexModuleFactory) : void
- {
- var fbs:IFlexModuleFactory = param1;
- var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("HSlider");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("HSlider",style,false);
- }
- if(style.defaultFactory == null)
- {
- style.defaultFactory = function():void
- {
- this.thumbOffset = 0;
- this.borderColor = 9542041;
- this.trackHighlightSkin = SliderHighlightSkin;
- this.tickColor = 7305079;
- this.tickOffset = -6;
- this.labelOffset = -10;
- this.tickLength = 4;
- this.trackColors = [15198183,15198183];
- this.dataTipPlacement = "top";
- this.dataTipOffset = 16;
- this.trackSkin = SliderTrackSkin;
- this.showTrackHighlight = false;
- this.thumbSkin = SliderThumbSkin;
- this.tickThickness = 1;
- this.dataTipPrecision = 2;
- this.slideDuration = 300;
- };
- }
- }
- }
- }
-